# """
# @Project: Rebar
# @File: router.py
# @Author: hzc
# @Date: 2023/3/29 19:17
# """
# from fastapi import APIRouter, Header
#
# from model.db.mapper import add_station
# from model.params import StationInfoParam
# from utils import success_res, obj_to_dict, SuccessCode
#
# station_router = APIRouter(prefix="/stations", tags=['验收台管理'])
#
#
# @station_router.post("", name="添加验收台")
# async def _add_station(station_info: StationInfoParam, token=Header("token")):
#     station = add_station(station_info)
#     return success_res(obj_to_dict(station), SuccessCode.POST)
